package com.boss.salary.service;


import com.boss.salary.entity.SalaryWarnMonth;
import com.boss.sys.ca.user.dto.UserDTO;

import java.util.List;
import java.util.Map;

public interface ISalaryWarnMonthService {

    void updateSalaryWarnMonth(SalaryWarnMonth salaryWarnMonth);

    SalaryWarnMonth getSalaryWarnMonth(String province);

    Map<String, Object> checkWarnMonthLoading(SalaryWarnMonth salaryWarnMonth, UserDTO userDTO,String tokenId);

//    List<Map<String, Object>> checkIsEnough(List<String> agencyIds, UserDTO userDto, List<Map<String, Object>> payRequestList, boolean is_agency);

    List<Map<String, Object>> checkIsEnough(List<String> agencyIds, UserDTO userDto, List<Map<String, Object>> payRequestList, boolean is_agency, SalaryWarnMonth salaryWarnMonth,List<Map<String, Object>> budgetThawpayList,String tokenId);
}
